/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package i18n;

import java.util.MissingResourceException;
import java.util.ResourceBundle;

/**
 *
 * @author VIJES
 */
public class Recursos {

    private static final String BUNDLE_NAME = "i18n/Bundle";
    
    private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle.getBundle(BUNDLE_NAME);
    
    public Recursos() {
    }
    
    public static String getString(String key) {
        try {
                return RESOURCE_BUNDLE.getString(key);
        } catch (MissingResourceException e) {
                return '!' + key + '!';
        }
    }    
}
